home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.src.lzh
/
input
/
coder.h
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-05
|
319b
|
14 lines
#ifndef _CODER_H_
#define _CODER_H_
char header[] = "Decode the following with bdecode\n";
char codeset[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-";
#define ENCODE(c) codeset[c]
extern short crctab[];
#define CRC(crc, c) crc = (crc >> 8) ^ crctab[(crc^c) & 0xff]
#endif /* _CODER_H_ */